package com.kunlun.basedata.user.service;

import com.kunlun.basedata.user.model.UserModel;
import com.kunlun.common.model.Page;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;
import java.util.Map;

public interface IUserService {

    List<UserModel> getUserList(UserModel userModel) throws Exception;

    Page getUserPage(UserModel userModel, int currentPage, int pageSize) throws Exception;

    void addUser(UserModel user) throws Exception;

    void updateUser(UserModel user) throws Exception;

    void batchDeleteUser(List<String> ids) throws Exception;

    UserModel getUserByUserName(String userName) throws Exception;

    void downloadUsers(HttpServletRequest request, HttpServletResponse response) throws Exception;

    UserModel getUserById(String userId) throws Exception;

    List<UserModel> selectUsers() throws Exception;
}
